<?php
namespace App\Model\Common;

class Issue extends Common
{
    public function listDataFormat($list, $opt = [])
    {
        $Api = new CategoryApi();
        foreach ($list as $key => $value) {
            $apiId = $value['api_id'];
            $api = $Api->getOne($apiId);
            $list[$key]['api_title'] = $api['title'];
        }
        return $list;
    }
}